package com.ruoyi.Amount.service;

import com.ruoyi.Amount.domain.DTO.OrderSubmitDTO;
import com.ruoyi.Amount.domain.VO.OrderSubmitVO;
import com.ruoyi.Amount.result.Result;
import com.ruoyi.order.domain.SysOrderOne;

public interface AmountReduce {

    /**
     * 用户下单
     * @param ordersSubmitDTO
     * @return
     */
    OrderSubmitVO submitOrder(OrderSubmitDTO ordersSubmitDTO);

    /**
     * 单人背调订单，下单支付
     * @param order
     * @return
     */
    Result onePayment(OrderSubmitVO order) throws Exception;

    /**
     * 批量背调订单，下单支付
     * @param order
     * @return
     */
    Result manyPayment(OrderSubmitVO order) throws Exception;


}
